package com.wulijie.intermediary;

/**
 * @Author cui
 * @Data
 */
public abstract class Colleague {
    private Mediary mediary;
    public String name;

    public Colleague(Mediary mediary, String name) {
        this.mediary = mediary;
        this.name = name;
    }

    public Mediary getMediary() {
        return mediary;
    }

    abstract void sendMessage(String name, int state);
}
